import { Component, OnInit } from '@angular/core';
import { LoginService } from '../../shared/service/login.service';

@Component({
  selector: 'app-tabbar',
  templateUrl: './tabbar.component.html',
  styleUrls: ['./tabbar.component.scss']
})
export class TabbarComponent implements OnInit {

  user: any;

  constructor(
    private loginService: LoginService
  ) {}

  ngOnChanges() {
    this.user = this.loginService.user;
  }

  ngOnInit() {
  }

}
